<?php
declare (strict_types = 1);

namespace app\api\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Role extends Model
{
    protected $pk='r_id';
    protected $json=['r_auth'];
    protected $jsonAssoc = true;

    public function roleUser(){
    	return $this->hasMany(RoleUser::class,"r_id");
    }
}
